Optimal. Leaf size=122 \[ \frac {1}{5} x^5 (a h+b f+c d)+\frac {1}{6} x^6 (a i+b g+c e)+\frac {1}{3} x^3 (a f+b d)+\frac {1}{4} x^4 (a g+b e)+a d x+\frac {1}{2} a e x^2+\frac {1}{7} x^7 (b h+c f)+\frac {1}{8} x^8 (b i+c g)+\frac {1}{9} c h x^9+\frac {1}{10} c i x^{10} \]
________________________________________________________________________________________
Rubi [A] time = 0.11, antiderivative size = 122, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 38, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.026, Rules used = {1671} \begin {gather*} \frac {1}{5} x^5 (a h+b f+c d)+\frac {1}{6} x^6 (a i+b g+c e)+\frac {1}{3} x^3 (a f+b d)+\frac {1}{4} x^4 (a g+b e)+a d x+\frac {1}{2} a e x^2+\frac {1}{7} x^7 (b h+c f)+\frac {1}{8} x^8 (b i+c g)+\frac {1}{9} c h x^9+\frac {1}{10} c i x^{10} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1671
Rubi steps
\begin {align*} \int \left (a+b x^2+c x^4\right ) \left (d+e x+f x^2+g x^3+h x^4+5 x^5\right ) \, dx &=\int \left (a d+a e x+(b d+a f) x^2+(b e+a g) x^3+(c d+b f+a h) x^4+(5 a+c e+b g) x^5+(c f+b h) x^6+(5 b+c g) x^7+c h x^8+5 c x^9\right ) \, dx\\ &=a d x+\frac {1}{2} a e x^2+\frac {1}{3} (b d+a f) x^3+\frac {1}{4} (b e+a g) x^4+\frac {1}{5} (c d+b f+a h) x^5+\frac {1}{6} (5 a+c e+b g) x^6+\frac {1}{7} (c f+b h) x^7+\frac {1}{8} (5 b+c g) x^8+\frac {1}{9} c h x^9+\frac {c x^{10}}{2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 122, normalized size = 1.00 \begin {gather*} \frac {1}{5} x^5 (a h+b f+c d)+\frac {1}{6} x^6 (a i+b g+c e)+\frac {1}{3} x^3 (a f+b d)+\frac {1}{4} x^4 (a g+b e)+a d x+\frac {1}{2} a e x^2+\frac {1}{7} x^7 (b h+c f)+\frac {1}{8} x^8 (b i+c g)+\frac {1}{9} c h x^9+\frac {1}{10} c i x^{10} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a+b x^2+c x^4\right ) \left (d+e x+f x^2+g x^3+h x^4+i x^5\right ) \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.84, size = 124, normalized size = 1.02 \begin {gather*} \frac {1}{10} x^{10} i c + \frac {1}{9} x^{9} h c + \frac {1}{8} x^{8} g c + \frac {1}{8} x^{8} i b + \frac {1}{7} x^{7} f c + \frac {1}{7} x^{7} h b + \frac {1}{6} x^{6} e c + \frac {1}{6} x^{6} g b + \frac {1}{6} x^{6} i a + \frac {1}{5} x^{5} d c + \frac {1}{5} x^{5} f b + \frac {1}{5} x^{5} h a + \frac {1}{4} x^{4} e b + \frac {1}{4} x^{4} g a + \frac {1}{3} x^{3} d b + \frac {1}{3} x^{3} f a + \frac {1}{2} x^{2} e a + x d a \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.32, size = 127, normalized size = 1.04 \begin {gather*} \frac {1}{10} \, c i x^{10} + \frac {1}{9} \, c h x^{9} + \frac {1}{8} \, c g x^{8} + \frac {1}{8} \, b i x^{8} + \frac {1}{7} \, c f x^{7} + \frac {1}{7} \, b h x^{7} + \frac {1}{6} \, b g x^{6} + \frac {1}{6} \, a i x^{6} + \frac {1}{6} \, c x^{6} e + \frac {1}{5} \, c d x^{5} + \frac {1}{5} \, b f x^{5} + \frac {1}{5} \, a h x^{5} + \frac {1}{4} \, a g x^{4} + \frac {1}{4} \, b x^{4} e + \frac {1}{3} \, b d x^{3} + \frac {1}{3} \, a f x^{3} + \frac {1}{2} \, a x^{2} e + a d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 105, normalized size = 0.86 \begin {gather*} \frac {c i \,x^{10}}{10}+\frac {c h \,x^{9}}{9}+\frac {\left (b i +c g \right ) x^{8}}{8}+\frac {\left (b h +c f \right ) x^{7}}{7}+\frac {\left (a i +b g +c e \right ) x^{6}}{6}+\frac {\left (a h +b f +c d \right ) x^{5}}{5}+\frac {a e \,x^{2}}{2}+\frac {\left (a g +b e \right ) x^{4}}{4}+a d x +\frac {\left (a f +b d \right ) x^{3}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.17, size = 104, normalized size = 0.85 \begin {gather*} \frac {1}{10} \, c i x^{10} + \frac {1}{9} \, c h x^{9} + \frac {1}{8} \, {\left (c g + b i\right )} x^{8} + \frac {1}{7} \, {\left (c f + b h\right )} x^{7} + \frac {1}{6} \, {\left (c e + b g + a i\right )} x^{6} + \frac {1}{5} \, {\left (c d + b f + a h\right )} x^{5} + \frac {1}{4} \, {\left (b e + a g\right )} x^{4} + \frac {1}{2} \, a e x^{2} + \frac {1}{3} \, {\left (b d + a f\right )} x^{3} + a d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 112, normalized size = 0.92 \begin {gather*} \frac {c\,i\,x^{10}}{10}+\frac {c\,h\,x^9}{9}+\left (\frac {c\,g}{8}+\frac {b\,i}{8}\right )\,x^8+\left (\frac {c\,f}{7}+\frac {b\,h}{7}\right )\,x^7+\left (\frac {c\,e}{6}+\frac {b\,g}{6}+\frac {a\,i}{6}\right )\,x^6+\left (\frac {c\,d}{5}+\frac {b\,f}{5}+\frac {a\,h}{5}\right )\,x^5+\left (\frac {b\,e}{4}+\frac {a\,g}{4}\right )\,x^4+\left (\frac {b\,d}{3}+\frac {a\,f}{3}\right )\,x^3+\frac {a\,e\,x^2}{2}+a\,d\,x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 121, normalized size = 0.99 \begin {gather*} a d x + \frac {a e x^{2}}{2} + \frac {c h x^{9}}{9} + \frac {c i x^{10}}{10} + x^{8} \left (\frac {b i}{8} + \frac {c g}{8}\right ) + x^{7} \left (\frac {b h}{7} + \frac {c f}{7}\right ) + x^{6} \left (\frac {a i}{6} + \frac {b g}{6} + \frac {c e}{6}\right ) + x^{5} \left (\frac {a h}{5} + \frac {b f}{5} + \frac {c d}{5}\right ) + x^{4} \left (\frac {a g}{4} + \frac {b e}{4}\right ) + x^{3} \left (\frac {a f}{3} + \frac {b d}{3}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________